package com.huadi.ssm.service;

import com.huadi.ssm.dao.EvaluationMapper;
import com.huadi.ssm.po.Evaluation;
import com.huadi.ssm.po.EvaluationExample;

import java.util.List;

public class EvaluationServiceImpl implements EvaluationMapper {

    private EvaluationMapper evaluationMapper;

    public void setEvaluationMapper(EvaluationMapper evaluationMapper) {
        this.evaluationMapper = evaluationMapper;
    }

    @Override
    public long countByExample(EvaluationExample example) {
        return evaluationMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(EvaluationExample example) {
        return evaluationMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String lawExecutorId) {
        return evaluationMapper.deleteByPrimaryKey(lawExecutorId);
    }

    @Override
    public int insert(Evaluation record) {
        return evaluationMapper.insert(record);
    }

    @Override
    public int insertSelective(Evaluation record) {
        return evaluationMapper.insertSelective(record);
    }

    @Override
    public List<Evaluation> selectByExample(EvaluationExample example) {
        return evaluationMapper.selectByExample(example);
    }

    @Override
    public Evaluation selectByPrimaryKey(String lawExecutorId) {
        return evaluationMapper.selectByPrimaryKey(lawExecutorId);
    }

    @Override
    public int updateByExampleSelective(Evaluation record, EvaluationExample example) {
        return evaluationMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(Evaluation record, EvaluationExample example) {
        return evaluationMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(Evaluation record) {
        return evaluationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Evaluation record) {
        return evaluationMapper.updateByPrimaryKey(record);
    }
}
